#!/bin/python
class Goods(object):
    def __init__(self):
        #原价
        self.original_prince = 100
        #折扣
        self.discount = 0.8
        @property
        def prince(self):
            new_prince = self.ringinal_prince * self.discount
            return new_prince
        @prince.setter
        def prince(self,vale):
            self.original_prince = value
        @prince.deleter
        def prince(self, value):
            del self.original_prince

obj = Goods()
obj.prince
obj.prince = 200
del obj.prince